Undocumented functions of NTDLL

2OO1, 25 February


NtSetIntervalProfile
NtSetIntervalProfile

NTSYSAPI 
NTSTATUS
NTAPI

NtSetIntervalProfile(
IN ULONG Interval, IN KPROFILE_SOURCE Source );



Function NtSetIntervalProfile sets delay between performance counter's ticks. Setting profile's interval has global effect for all running processes.

User can set interval only for software performance counters. To determine if counter is software or not, call NtQueryIntervalProfile. If returned interval is zero, queried counter is hardware counter (build in CPU).



Requirements:
Library: ntdll.lib


See also:
KPROFILE_SOURCE
NtCreateProfile
NtQueryIntervalProfile